package com.erpanderp.wam.ac.model.entity.reimbursement;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Transient;

import com.erpanderp.wam.usm.model.entity.user.Employee;

public class MiscExpense {
	private long miscExpenseId;
	private Employee employee;
	private String miscExpenseCode;
	private Date requestDate;
	private String expensePurpose;
	private String expenseLocation;
	private String expenseStatus;
	private Employee approvedBy;
	private String approvalComment;
	private String remarks;
	private float advanceTakenAmount;
	private String advanceTakenCurrency;
	private float approvedAmount;
	private String approvedCurrency;
	private float balancepayableAmount;
	private String balancePayableCurrency;
	private Date createDate;
	private Date dateModified;
	private String createdBy;
	private String modifiedBy;
	private String description;
	private String status;
	private Set<MiscExpenseDetails> miscExpensesDetails = new HashSet<MiscExpenseDetails>();
	
	private String briefPurposeDetails;
	@Transient
	private int sNo;
	
	public long getMiscExpenseId() {
		return miscExpenseId;
	}
	public void setMiscExpenseId(long miscExpenseId) {
		this.miscExpenseId = miscExpenseId;
	}
	public Employee getEmployee() {
		return employee;
	}
	public void setEmployee(Employee employee) {
		this.employee = employee;
	}
	public Date getRequestDate() {
		return requestDate;
	}
	public void setRequestDate(Date requestDate) {
		this.requestDate = requestDate;
	}
	public String getExpensePurpose() {
		return expensePurpose;
	}
	public void setExpensePurpose(String expensePurpose) {
		this.expensePurpose = expensePurpose;
	}
	public String getExpenseLocation() {
		return expenseLocation;
	}
	public void setExpenseLocation(String expenseLocation) {
		this.expenseLocation = expenseLocation;
	}
	public String getExpenseStatus() {
		return expenseStatus;
	}
	public void setExpenseStatus(String expenseStatus) {
		this.expenseStatus = expenseStatus;
	}
	public String getApprovalComment() {
		return approvalComment;
	}
	public void setApprovalComment(String approvalComment) {
		this.approvalComment = approvalComment;
	}
	
	
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getDateModified() {
		return dateModified;
	}
	public void setDateModified(Date dateModified) {
		this.dateModified = dateModified;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public String getModifiedBy() {
		return modifiedBy;
	}
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getMiscExpenseCode() {
		return miscExpenseCode;
	}
	public void setMiscExpenseCode(String miscExpenseCode) {
		this.miscExpenseCode = miscExpenseCode;
	}
	public Set<MiscExpenseDetails> getMiscExpensesDetails() {
		return miscExpensesDetails;
	}
	public void setMiscExpensesDetails(Set<MiscExpenseDetails> miscExpensesDetails) {
		this.miscExpensesDetails = miscExpensesDetails;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	
	public float getAdvanceTakenAmount() {
		return advanceTakenAmount;
	}
	public void setAdvanceTakenAmount(float advanceTakenAmount) {
		this.advanceTakenAmount = advanceTakenAmount;
	}
	
	public float getApprovedAmount() {
		return approvedAmount;
	}
	public void setApprovedAmount(float approvedAmount) {
		this.approvedAmount = approvedAmount;
	}
	
	public float getBalancepayableAmount() {
		return balancepayableAmount;
	}
	public void setBalancepayableAmount(float balancepayableAmount) {
		this.balancepayableAmount = balancepayableAmount;
	}
	public String getAdvanceTakenCurrency() {
		return advanceTakenCurrency;
	}
	public void setAdvanceTakenCurrency(String advanceTakenCurrency) {
		this.advanceTakenCurrency = advanceTakenCurrency;
	}
	public String getApprovedCurrency() {
		return approvedCurrency;
	}
	public void setApprovedCurrency(String approvedCurrency) {
		this.approvedCurrency = approvedCurrency;
	}
	public String getBalancePayableCurrency() {
		return balancePayableCurrency;
	}
	public void setBalancePayableCurrency(String balancePayableCurrency) {
		this.balancePayableCurrency = balancePayableCurrency;
	}
	public int getsNo() {
		return sNo;
	}
	public void setsNo(int sNo) {
		this.sNo = sNo;
	}
	public Employee getApprovedBy() {
		return approvedBy;
	}
	public void setApprovedBy(Employee approvedBy) {
		this.approvedBy = approvedBy;
	}
	@Transient
	public String getBriefPurposeDetails() {
		return briefPurposeDetails;
	}
	public void setBriefPurposeDetails(String briefPurposeDetails) {
		this.briefPurposeDetails = briefPurposeDetails;
	}
	
}
